package com.ssy.wireless.mapper;

import com.ssy.wireless.entity.ApDeviceRecover;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ApDeviceRecoverMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ApDeviceRecover record);

    ApDeviceRecover selectByPrimaryKey(Long id);

    int updateByPrimaryKey(ApDeviceRecover record);

    List<ApDeviceRecover> select(@Param("params") Map<String, Object> params);

    Long selectLastFaultTime(@Param("apDeviceId") long apDeviceId);
}